projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e779b8f
)
GtkCellRendererPixbuf: Use gtk_widget_render_icon_pixbuf()
author
Carlos Garcia Campos
<carlosgc@gnome.org>
Wed, 8 Dec 2010 16:16:02 +0000
(17:16 +0100)
committer
Carlos Garcia Campos
<carlosgc@gnome.org>
Wed, 8 Dec 2010 16:16:02 +0000
(17:16 +0100)
Instead of gtk_widget_render_icon() which is now deprecated.
gtk/gtkcellrendererpixbuf.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcellrendererpixbuf.c
b/gtk/gtkcellrendererpixbuf.c
index 729d08a89d91e1a5bff7fbc201f37b72842c24a9..8a191d981a2c1f3d4df58024e2be3873d9f6f88e 100644
(file)
--- a/
gtk/gtkcellrendererpixbuf.c
+++ b/
gtk/gtkcellrendererpixbuf.c
@@
-481,10
+481,9
@@
gtk_cell_renderer_pixbuf_create_stock_pixbuf (GtkCellRendererPixbuf *cellpixbuf,
if (priv->pixbuf)
g_object_unref (priv->pixbuf);
- priv->pixbuf = gtk_widget_render_icon (widget,
- priv->stock_id,
- priv->stock_size,
- priv->stock_detail);
+ priv->pixbuf = gtk_widget_render_icon_pixbuf (widget,
+ priv->stock_id,
+ priv->stock_size);
g_object_notify (G_OBJECT (cellpixbuf), "pixbuf");
}